<template>
  <div class="list-bigest-box">
    <div class="list-list-img">{{item.srfmajortext.substr(0,1)}}</div>
    <div class="list-list-text">
      <div class="list-list-info">
        <p class="list-title" v-if="item.srfmajortext">{{item.srfmajortext}}</p>
        <p class="list-info" v-if="item.subtitle && item.content">{{item.subtitle+":"+item.content}}</p>
      </div>
      <div class="list-time-box">
        <p class="list-time" v-if="item.time">{{item.time.substr(11,12).substr(0,5)}}</p>
        <div class="list-num" v-if="item.num">{{item.num}}</div>
      </div>
    </div>
  </div>
</template>
<script lang="ts">
import {
  Vue,
  Component,
  Prop,
  Provide,
  Emit,
  Watch
} from "vue-property-decorator";

@Component({
  components: {}
})
export default class AppRoundList extends Vue{

  /**
   * 传入item
   * @type {any}
   * @memberof AppRoundList
   */
  @Prop() public item?:any;

};
</script>
<style>
.list-list-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #26a2ff;
  line-height: 60px;
  margin: 0 7px 0 0;
  color: #ffffff;
}
.list-bigest-box {
  display: flex;
  margin: 0 0.7em 0 0.7em;
  padding: 0.2em 0.2em;
}
.list-list-text {
  width: 80%;
  display: flex;
  border-bottom: solid 0.0625em #cccccc;
  justify-content: space-between;
}
.list-list-info {
  text-align: left;
  padding: 0.3em 0;
}
.list-title {
  font-size: 1.2em;
  color: #666;
  padding: 10px 0px 10px 0px;
  margin: 0;
}
.list-info {
  color: #939393cc;
  font-size: 0.93em;
  padding: 0;
  margin: 0;
}
.list-time {
  color: #cccccc;
  font-size: 0.8em;
}
.list-num {
  width: 25px;
  background-color: #99dcfa;
  border-radius: 50px;
  color: white;
  font-size: 0.8em;
  overflow: auto;
}
</style>